package com.yingside.game;

public class Weapon {
    /** 武器名称 */
    private String name;
    /** 武器效果 */
    private int effect;
    /** 武器价格 */
    private int price;
    /** 武器库存 */
    private int num;

    public Weapon() {
    }

    public Weapon(String name, int effect, int price, int num) {
        this.name = name;
        this.effect = effect;
        this.price = price;
        this.num = num;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getEffect() {
        return effect;
    }

    public void setEffect(int effect) {
        this.effect = effect;
    }

    public int getPrice() {
        return price;
    }

    public void setPrice(int price) {
        this.price = price;
    }

    public int getNum() {
        return num;
    }

    public void setNum(int num) {
        this.num = num;
    }
}
